/*
 * @Author: wangding
 * @Date: 2020-08-27 12:01:27
 * @LastEditTime: 2020-10-21 18:00:47
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \SolaxCloud\src\api\content.js
 * 接口地址-以及使用方法
 */
import * as API from './'
import wd from './wdContent'

export default {
    ...wd,
    //报告设置
    setReport: (params) => {
        return API.POST3('/system/tuser/setReport', params)
    },
    //报告回显
    getReport: (params) => {
        return API.POST3('/system/tuser/getReport', params)
    },
    //上传图片
    upLoadLogo: (params) => {
        return API.POST3('/system/tuser/upLoadLogo', params)
    },
    //获取图片
    getLogo: (params) => {
        return API.POST3('/system/tuser/getLogo', params)
    },
    //个人信息
    updateUser: (params) => {
        return API.POST3('/system/user/update', params)
    },
    //获取国家
    getCountryList: (params) => {
        return API.POST3('/system/user/getAllCountries', params)
    },
    //缓存投资数据
    saveReturnToCache: (params) => {
        return API.POST3('/treturninvestment/saveToCache', params)
    },
    //光伏模块计算
    selectModule: (params) => {
        return API.POST3('/system/tproject/selectModule', params)
    },
    //删除光伏阵列时计算
    deletePvArray: (params) => {
        return API.POST3('/system/tproject/deletePvArray', params)
    },
    tprojectSave: (params) => {
        return API.POST3('/system/tproject/save', params)
    },
    tprojectReoprt: (params) => {
        return API.POST3('/system/tproject/save', params)
    },
    //根据光伏模块获取光伏阵列默认值
    getPvArrayDefaultValue: (params) => {
        return API.POST3('/system/tproject/getPvArrayDefaultValue', params)
    },
    
    
}